

package com.api.oa.services;

import com.api.oa.model.entity.YQServiceOpt;
import com.api.oa.model.vo.OaOrgTreeVO;
import com.github.pagehelper.PageInfo;
import java.util.List;

public interface YQServiceOptService {


    Integer add(YQServiceOpt entity);


    void remove(Long id);


    Integer update(YQServiceOpt org);


    PageInfo<YQServiceOpt> list(String insCode,Integer pageIndex,Integer pageSize);


    YQServiceOpt one(Long id);


    /**
     * 移动端查询服务项目
     * @param insCode
     * @return
     */
    List<YQServiceOpt> queryByInsCode(Long insCode);

 }
